import request from '@/utils/request'

// 查询销售报表导入临时表列表
export function listBiTempOrigOrderProduct(query) {
  return request({
    url: '/product/BiTempOrigOrderProduct/list',
    method: 'get',
    params: query
  })
}

// 查询销售报表导入临时表详细
export function getBiTempOrigOrderProduct(id) {
  return request({
    url: '/product/BiTempOrigOrderProduct/' + id,
    method: 'get'
  })
}

// 新增销售报表导入临时表
export function addBiTempOrigOrderProduct(data) {
  return request({
    url: '/product/BiTempOrigOrderProduct',
    method: 'post',
    data: data
  })
}

// 修改销售报表导入临时表
export function updateBiTempOrigOrderProduct(data) {
  return request({
    url: '/product/BiTempOrigOrderProduct',
    method: 'put',
    data: data
  })
}

// 删除销售报表导入临时表
export function delBiTempOrigOrderProduct(id) {
  return request({
    url: '/product/BiTempOrigOrderProduct/' + id,
    method: 'delete'
  })
}
